package cn.ibizlab.odoo.core.odoo_account.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_account.domain.Account_partial_reconcile;
import cn.ibizlab.odoo.core.odoo_account.filter.Account_partial_reconcileSearchContext;

/**
 * 实体[Account_partial_reconcile] 服务对象接口
 */

public interface IAccount_partial_reconcileService{
     boolean create(Account_partial_reconcile account_partial_reconcile) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     boolean remove(Integer id) ;
     boolean update(Account_partial_reconcile account_partial_reconcile) ;
     Account_partial_reconcile get(Integer id) ;
     Account_partial_reconcile get(Account_partial_reconcile account_partial_reconcile) ;
     void createBatch(List<Account_partial_reconcile> account_partial_reconciles, int batchSize) ;
     void updateBatch(List<Account_partial_reconcile> account_partial_reconciles, int batchSize) ;

    /**
     * 查询集合 默认查询
     */
    Page<Account_partial_reconcile> searchDefault(Account_partial_reconcileSearchContext context) ;

    /**
     * 根据完全核销查询
     */
     Page<Account_partial_reconcile> selectByOdoo_full_reconcile(Integer id) ;

    /**
     * 根据日记账项目查询
     */
     Page<Account_partial_reconcile> selectByOdoo_credit_move(Integer id) ;

    /**
     * 根据日记账项目查询
     */
     Page<Account_partial_reconcile> selectByOdoo_debit_move(Integer id) ;

    /**
     * 根据公司查询
     */
     Page<Account_partial_reconcile> selectByOdoo_company(Integer id) ;

    /**
     * 根据币种查询
     */
     Page<Account_partial_reconcile> selectByOdoo_currency(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Account_partial_reconcile> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Account_partial_reconcile> selectByOdoo_write(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Account_partial_reconcile convert2Domain(cn.ibizlab.odoo.core.client.model.Iaccount_partial_reconcile model ,Account_partial_reconcile domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Iaccount_partial_reconcile convert2Model(Account_partial_reconcile domain , cn.ibizlab.odoo.core.client.model.Iaccount_partial_reconcile model);

}
